package com.gzhryc.shared_device.oem.h5.agent.dto.api.v1.bxscn;

import com.gzhryc.common.api.SecurityResponse;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class BXSCNBatteryListResponse extends SecurityResponse<BXSCNBatteryListResponse.Body> {

	private static final long serialVersionUID = 1L;

	public BXSCNBatteryListResponse() {
		this.body = new Body();
	}

	public BXSCNBatteryListResponse(Integer code, String msg) {
		super(code,msg);
		this.body = new Body();
	}

	public static class Body implements Serializable {

		private static final long serialVersionUID = 1L;
		
		public List<DeviceItem> items;

		public List<DeviceItem> getItems() {
			return items;
		}

		public void setItems(List<DeviceItem> items) {
			this.items = items;
		}
	}

	public static class DeviceItem {

		private String deviceSn;
		private String type;
		private String typeName;
		private Integer batteryPower;
		private Integer leaseType;
		private String leaseTypeName;

		private Long placeId;
		private String placeName;
		private String placeAreaName;

		private String cabinetDeviceSn;
		private Integer slotNum;
		private Double power;

		private String currentTradeNo;
		private Integer state;
		private String stateName;

		private Date lastLeaseDate;

		public String getDeviceSn() {
			return deviceSn;
		}

		public void setDeviceSn(String deviceSn) {
			this.deviceSn = deviceSn;
		}

		public String getType() {
			return type;
		}

		public void setType(String type) {
			this.type = type;
		}

		public String getTypeName() {
			return typeName;
		}

		public void setTypeName(String typeName) {
			this.typeName = typeName;
		}

		public Integer getBatteryPower() {
			return batteryPower;
		}

		public void setBatteryPower(Integer batteryPower) {
			this.batteryPower = batteryPower;
		}

		public Integer getLeaseType() {
			return leaseType;
		}

		public void setLeaseType(Integer leaseType) {
			this.leaseType = leaseType;
		}

		public String getLeaseTypeName() {
			return leaseTypeName;
		}

		public void setLeaseTypeName(String leaseTypeName) {
			this.leaseTypeName = leaseTypeName;
		}

		public Long getPlaceId() {
			return placeId;
		}

		public void setPlaceId(Long placeId) {
			this.placeId = placeId;
		}

		public String getPlaceName() {
			return placeName;
		}

		public void setPlaceName(String placeName) {
			this.placeName = placeName;
		}

		public String getPlaceAreaName() {
			return placeAreaName;
		}

		public void setPlaceAreaName(String placeAreaName) {
			this.placeAreaName = placeAreaName;
		}

		public String getCabinetDeviceSn() {
			return cabinetDeviceSn;
		}

		public void setCabinetDeviceSn(String cabinetDeviceSn) {
			this.cabinetDeviceSn = cabinetDeviceSn;
		}

		public Integer getSlotNum() {
			return slotNum;
		}

		public void setSlotNum(Integer slotNum) {
			this.slotNum = slotNum;
		}

		public Double getPower() {
			return power;
		}

		public void setPower(Double power) {
			this.power = power;
		}

		public Integer getState() {
			return state;
		}

		public void setState(Integer state) {
			this.state = state;
		}

		public String getStateName() {
			return stateName;
		}

		public void setStateName(String stateName) {
			this.stateName = stateName;
		}

		public String getCurrentTradeNo() {
			return currentTradeNo;
		}

		public void setCurrentTradeNo(String currentTradeNo) {
			this.currentTradeNo = currentTradeNo;
		}

		public Date getLastLeaseDate() {
			return lastLeaseDate;
		}

		public void setLastLeaseDate(Date lastLeaseDate) {
			this.lastLeaseDate = lastLeaseDate;
		}
	}

}
